package com.ssy.lingxi.report.service;

import cn.hutool.core.date.DateTime;
import com.ssy.lingxi.common.model.dto.UserLoginCacheDTO;
import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.report.model.vo.request.PlatformManualSettlementVO;
import com.ssy.lingxi.report.model.vo.request.ScoreManualSettlementVO;

/**
 * 平台结算接口定义
 * @author 伍将
 * @date 2020/12/2
 * @version 2.0.0
 */
public interface IPlatformSettlementService {

    /**
     * 结算报表
     * @author 伍将
     * @date 2020/12/2
     * @param startDate:
     **/
    void settlementReport(DateTime startDate);

    /**
     * 积分手动结算
     * @author 伍将
     * @date 2020/12/24
     * @param user:
     * @param settlementVO:
     * @return 操作结果
     **/
    Wrapper<Void> scoreManualSettlement(UserLoginCacheDTO user, ScoreManualSettlementVO settlementVO);

    /**
     * 平台手动结算
     * @author 伍将
     * @date 2020/12/24
     * @param settlementVO:
     * @return 操作结果
     **/
    Wrapper<Void> platformManualSettlement(UserLoginCacheDTO user, PlatformManualSettlementVO settlementVO);
}
